home *** CD-ROM | disk | FTP | other *** search
/ Software USA 4 #11 / Software USA Volume 4.11.iso / mac / Educational / mac06 / usr / include / stddef.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-08-01  |  242 b   |  17 lines  |  [TEXT/SPM ]

  1. /* mac06©1997,98 by HNS/DSITRI hns@computer.org
  2. ** stddef.h
  3. */
  4.  
  5. #pragma once
  6.  
  7. #include "size_t.h"
  8. #include "wchar_t.h"
  9.  
  10. #ifndef NULL
  11. #define NULL    (0)
  12. #endif
  13. #define offsetof(s, x) (ptrdiff_t) &(((s *) 0)->x)
  14.  
  15. typedef int ptrdiff_t;
  16.  
  17. /* EOF */